package com.formulas.component.extension;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 扩展点锚点
 * @author yiwannuofulasi
 * @date 2023/6/12 16:29
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Component
public @interface Extension {

    /**业务标记**/
    String bizId()  default BizScenario.DEFAULT_BIZ_ID;
    /**用例标记**/
    String useCase() default BizScenario.DEFAULT_USE_CASE;
    /**场景标记**/
    String scenario() default BizScenario.DEFAULT_SCENARIO;
}
